<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">id</th>
				<th width="35%">用户名</th>
				<th width="12%">密码</th>
			</tr>
			<c:forEach items="${UserPage.list}" var="user">
				<tr>
					<td style="text-align: center;"><c:out value="${user.id}"
							default="" /></td>
					<td style="text-align: center;">${user.UserName}</td>
					<td style="text-align: center;">${user.PassWord}</td>
					<td style="text-align: left;">&nbsp;&nbsp;<a
						href="/user/delete/${user.id}">删除</a> &nbsp;&nbsp;<a
						href="/user/edit/${user.id}">修改</a>
					</td>
				</tr>
			</c:forEach>
		</tbody>
	</table>
	<c:set var="currentPage" value="${UserPage.pageNumber}" />
	<c:set var="totalPage" value="${UserPage.totalPage}" />
	<c:set var="actionUrl" value="/JFinal_demo/user/showAll/" />
	<c:set var="urlParas" value="" />
	<%@ include file="/common/_paginate.jsp"%>
</body>
</html>